package kr.hkit.PowerJava.chapter06.work;

public class Moonje6 {
	public static void main(String[] args) {
		int x = 2, y = 2;
		for (x = 2; x <= 100; x++) {
			for (y = 2; y < x; y++) {
				if (x % y == 0) {
					break;

				}
			}
			if (x == y)
				System.out.println("소수 : " + x);

		}

	}

}
